package cn.sfturing.dao;

import cn.sfturing.entity.Control;

public interface ControlMapper {
    //根据ID删除
    int deleteByPrimaryKey(Integer id);
    //插入
    int insert(Control record);
    //万能插入
    int insertSelective(Control record);
    //根据ID查
    Control selectByPrimaryKey(Integer id);
    //万能修改
    int updateByPrimaryKeySelective(Control record);
    //修改rank
    int updateByPrimaryKey(Control record);
    //根据医院名查
    Control selectByHospitalName(String hospitalName);
    //根据ID删除
    int deleteByuserId(Integer userId);
    //根据userid查
    Control selectByuserId(Integer userId);



}